package service

import(

	"gitee.com/lzqysoft/framework/common"
	"gitee.com/lzqysoft/framework/common/log"
)

type Auth int


// Login 登陆验证
func (t *Auth) Login(args *common.Arg, reply *common.Result) error {
	log.Info(args)
	Login(args.Arg, reply)
	log.Info(reply)
	return nil
}



// 获取用户相关信息，user、profile、organ、dept
func(t *Auth) Info(args *common.Arg, reply *common.Result) error {
	Info(args.Token, reply)
	return nil
}

func(t *Auth) Menus(args *common.Arg, reply *common.Result) error{
	Menus(args.Token, reply)
	return nil
}
